package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.SmsLogin;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberDao {
    /**
     * 新增会员
     */
    void inset(Member member);

    @Select(" select count(*) from t_member where phoneNumber= #{phoneNumber};")
    int select(Member member);
}
